package top.wilsonlv.jaguar.dept.data.permission;

import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lvws
 * @since 2022/8/11
 */
@Data
public class DeptDataPermission<T> implements Serializable {

    private SFunction<T, ?> column;

    private String alias;

    public DeptDataPermission() {
    }

    public DeptDataPermission(SFunction<T, ?> column) {
        this.column = column;
    }

    public DeptDataPermission(SFunction<T, ?> column, String alias) {
        this.column = column;
        this.alias = alias;
    }

}
